package edu.sctu.lab03;

/**
 * Created by JAVA on 2018/5/17.
 */
public class User {
   private int id;
   private String name;//(注意数据库中的变量是否为name,1.修改数据库--设计表。
    private String password;                       // 2.修改变量，右键--refactor--rename)

    //setter getter方法

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
